<!--
 * @Description: 
 * @Author: Cxy
 * @Date: 2025-02-26 21:12:50
 * @LastEditors: Cxy
 * @LastEditTime: 2025-05-06 12:18:42
 * @FilePath: \xy-admin\docs\.vitepress\theme\demo\source.vue
-->
<script setup lang="ts">
import { computed } from 'vue'
const props = defineProps({ source: { type: String, required: true } })
const source = computed(() => decodeURIComponent(props.source))
</script>

<template>
  <details class="details custom-block" v-html="source" />
</template>

<style scoped lang="scss"></style>
